package com.feng.ssm.service;

import com.feng.ssm.pojo.Book;

import java.util.List;

public interface BookService {
    //增加
    public int addBook(Book book);

    //删除
    public int deleteBook(int id);

    //改
    public int updateBook(Book book);

    //查询
    public Book queryBookById(int id);

    //查询所有
    public List<Book> queryAllBook();
}
